﻿/*****************************************************************************
 * ui_font.c: Copyright 2023 (c) CoreLink
 * Desc:
 *
 * Author: Flying (weekend@111.com)
 * Date: 2023-09-06 16:10:04
 * Notes:
 *
 * ---------------------------------------------------------------------------
 * LastEditors:
 * LastEditTime:
 *****************************************************************************/
/*------------------------------- Includes ----------------------------------*/
#include "ui_font.h"

/*------------------- 全局定义和声明 -------------------*/

/*---------------------- 常量/宏定义 -----------------------*/
#define C_FONT_DEF 0
#define C_ICON_FONT_DEF 1

/*----------------------- 类型声明 ---------------------------------*/
LV_FONT_DECLARE(font_puhui_14_1);
LV_FONT_DECLARE(font_iconfont_18);

/*----------------------- 函数原型 --------------------------------*/

/*----------------------- 功能实现 --------------------------------*/

/*---------------------------------------------------------------------------*/

int ui_font_init()
{

    return 0;
}
const lv_font_t *ui_font_get_by_name(int type, int size)
{
    return &font_puhui_14_1;
}
/**
 * @description:
 * @param {int} size
 * @return {*}
 */
const lv_font_t *ui_font_get_icon_font(int size)
{
    return &font_iconfont_18;
}

/**
 * @description:
 * @param {int} size
 * @return {*}
 */
const lv_font_t *ui_font_get_font(int size)
{
    return &font_puhui_14_1;
}
